package com.main.controller;

import java.io.Serializable;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.generico.dto.ctg.CtgCatalogo;
import com.generico.exception.AsiWebException;
import com.main.cliente.dto.SgiPersona;
import com.main.dao.AsistenciaTecnicaDAO;
import com.main.dao.ClienteDAO;
import com.main.dao.SgiPersonaDao;
import com.main.java.AsistenciaTecnica;
import com.main.java.Cliente;
import com.main.java.Empleado;
import com.main.java.Producto;
import com.main.service.AsistenciaTecnicaService;
import com.web.security.CustomUser;
import com.web.util.GenericoUtil;

@Controller
@RequestMapping("/empleado")
public class TareasAsignadasController{


	@RequestMapping(value = "/tareasAsignadas")
	public String tareasAsignadas(HttpServletRequest request, ModelMap model) {
		model.put("usuarioId", GenericoUtil.getSgdUsuarioIdFromAcegi());
		model.put("userName", GenericoUtil.getUserName());
		model.put("rol", GenericoUtil.getRol().toString());
		return "empleado/tareasAsignadas";
		
	}
	
	
	
}
	
	
	
	
	

